package org.dromara.setting.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SettingIconConfig.class)
public class SettingIconConfigVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "id")
    private Long id;

    /**
     * 是否删除
     */
    @ExcelProperty(value = "配置名称")
    private String delFlag;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 图标
     */
    @ExcelIgnore
    private String iconImage;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Integer sortSum;

    /**
     * 位置显示
     */
    @ExcelProperty(value = "位置显示")
    private String locationShow;

    /**
     * 跳转路径
     */
    @ExcelProperty(value = "跳转路径")
    private String redirectUrl;

    /**
     * 跳转类型
     */
    @ExcelProperty(value = "跳转类型")
    private String redirectType;

    /**
     * 显示
     */
    @ExcelProperty(value = "是否显示")
    private Integer showStatus;
}
